<if condition="$showtv eq 'week'">
<div class="common-block">
	<h2>{:modC('VIDEO_SHOW_TITLE','我要上电视','Video')}</h2>
	<div class="common-block-head">
		<ul>
			<li class="on"><a href="showtv/">周榜</a></li>
			<li><a href="showtv/">更多</a></li>
		</ul>
		<div class="wantbtn">
			<a href="{:U('video/index/add')}">上传视频</a>
		</div>
		<div class="pm">
			<h4>您视频的最高阳光值在本周排名</h4>
			<span>第38名</span>
		</div>
	</div>
	<div class="common-block-body">
		<ul class="video">
			<volist name="VideoContents" id="vo">
			<elt name="i" value="3">
			<li <if condition="$i % 3 eq 0">style="margin-right:0"</if>>
				<div class="img">
					<a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}"><img src="{$vo.cover_id|getThumbImageById=208,117}" alt="{$vo.video.title}" /></a>
					<span>{$i}</span>
				</div>
				<div class="text">
					<h2><a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}" title="{$vo.title}">{$vo.title|getShortSp=11}</a></h2>
					<div class="desc">
						{$vo.content|text|getShortSp=30}
					</div>
					<h4>来自树丛 : <a href="{:U('Group/Index/group',array('id'=>$vo['group_id']))}">{$vo.group_id|get_group_name}</a></h4>
					<ul>
						<li><i class="iconfont">&#xe638;</i> {$vo.vote_count} 投票</dd>
						<li><i class="iconfont">&#xe63a;</i> {$vo.view_count} 阳光值</dd>
					</ul>
				</div>
			</li>
			<else/>
			<li class="foot" <if condition="$i % 6 eq 0">style="margin-right:0"</if>>
				<div class="img">
					<a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}">
					<img src="{$vo.cover_id|getThumbImageById=208,117}"/>
					<h2>{$vo.title|getShortSp=30}</h2>
					</a>						
				</div>
		  		<div class="meta">
					<ul>
						<li><i class="iconfont">&#xe638;</i> {$vo.vote_count}</dd>
						<li><i class="iconfont">&#xe63a;</i> {$vo.view_count}</dd>
					</ul>
				</div>
			</li>
			</elt>
			</volist>
		</ul>
	</div>
</div>
<elseif condition="$showtv eq 'month'" />
<div class="common-block" style="margin-top:10px;">
	<h2>顽瞳榜中榜</h2>
	<div class="common-block-head">
		<ul>
			<li class="on"><a href="showtv/">月榜</a></li>
			<li><a href="showtv/">总榜</a></li>
			<li><a href="showtv/">精华教程</a></li>
			<li><a href="showtv/">往期回顾</a></li>
		</ul>
	</div>
	<div class="common-block-body">
		<ul class="wtbzb">
			<volist name="VideoContents" id="vo">
			<li <if condition="$i % 3 eq 0">style="margin-right:0"</if>>
					<div class="img">
						<a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}"><img src="{$vo.cover_id|getThumbImageById=208,117}"/>
										<h2>{$vo.title|getShortSp=30}</h2>
									</a>
						<span>{$i}</span>
					</div>
					<div class="meta">
						<dl>
							<dd><i class="iconfont">&#xe607;</i>
								{$vo.zang}
							</dd>
							<dd><i class="iconfont">&#xe631;</i>
								{$vo.reply_count}
							</dd>
							<dd><i class="iconfont">&#xe63a;</i>
								{$vo.view_count}
							</dd>
						</dl>
					</div>
			</li>
			</volist>
		</ul>
	</div>
</div>
<else />
<div class="common-block" style="margin-top:25px;">
	<h2 class="bline">最新上传</h2>
	<div class="common-block-head">
		<div class="pm">
			<a href="showtv/">更多</a>
		</div>
	</div>
	<div class="common-block-body">
		<div class="newvideo">
		<div class="prev" id="zxscPrev"></div>
		<div class="list" id="zxscList">
			<ul>
				<volist name="VideoContents" id="vo">
						<li>
							<div class="img">
								<a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}"><img src="{$vo.cover_id|getThumbImageById=208,117}"/></a>
							</div>
							<div class="text">
								<h2><a href="{:U('Video/Index/videoContentDetail',array('id'=>$vo['id']))}" title="{$vo.title}">{$vo.title|getShortSp=11}</a></h2>
								<h4>来自树丛 : <a href="{:U('Group/Index/group',array('id'=>$vo['group_id']))}" class="c_yellow">{$vo.group_id|get_group_name}</a></h4>
								<h4>用户 : <a ucard="{$vo.user.id}" href="{$vo.user.space_url}" class="c_green">{$vo.user.nickname|htmlspecialchars}</a></h4>
							</div>
							<div class="meta">
								<dl>
									<dd><i class="iconfont">&#xe638;</i>
										{$vo.vote_count}
									</dd>
									<dd><i class="iconfont">&#xe63a;</i>
										{$vo.view_count}
									</dd>
								</dl>
							</div>
						</li>
				</volist>
			</ul>
		</div>
		<div class="next" id="zxscNext"></div>
		</div>
	</div>
</div>
</if>